<template>
  <el-dialog append-to-body :title="modalTitle" :close-on-click-modal="false" :visible.sync="dialogVisible">
    <el-form
      ref="form"
      :model="model.dataForm"
      :rules="model.dataRule"
      label-width="120px"
      @keyup.enter.native="handleSubmit"
      style="padding-right: 30px"
    >
      <el-form-item label="处理方式" prop="projectName">
        <el-input value="误报消除" placeholder="请输入处理方式" disabled></el-input>
      </el-form-item>
      <el-form-item label="操作信息">
        <el-input v-model="model.dataForm.dealDesc" type="textarea"></el-input>
      </el-form-item>
    </el-form>
    <template #footer>
      <span class="dialog-footer">
        <el-button type="primary" :loading="loading" @click="deal">确定</el-button>
      </span>
    </template>
  </el-dialog>
</template>

<script>
import index from './index'

export default {
  name: 'FormModal2',
  /**
   * 混入（表单）
   */
  mixins: [index],
}
</script>

<style lang="scss" scoped>
.img-cover {
  width: 30%;
}
</style>
